<template>
  <view class="work-container">
	
  
<view class="logo-content align-center justify-center flex">
    
   
    </view>
    <!-- 宫格组件 -->
    <uni-section title="系统管理" type="line"></uni-section>
    <view class="grid-body">
		
		
	
					<uni-grid :column="3" :show-border="false" :square="false" @change="change">
						<uni-grid-item v-for="(item ,index) in list" :index="index" :key="index">
							<view class="grid-item-box">
								 <uni-icons type="bars" size="80"></uni-icons>
								<text class="text" style="font-size: 20rpx;">{{item.text}}</text>
								
							</view>
						</uni-grid-item>
					</uni-grid>
		
	
    </view>
  </view>
</template>

<script>
  export default {
    data() {
      return {
        current: 0,
        swiperDotIndex: 0,
        data: [{
            image: '/static/images/banner/banner01.jpg'
          },
          {
            image: '/static/images/banner/banner02.jpg'
          },
          {
            image: '/static/images/banner/banner03.jpg'
          }
        ],
		list: [{
								url: '/static/c1.png',
								text: '第三类 食品经营许可现场核查表',
								badge: '0',
								type: "primary"
							},
							{
								url: '/static/c2.png',
								text: '食品、食品添加剂生产许可现场核查评分记录表',
								badge: '1',
								type: "success"
							},
							{
								url: '/static/c3.png',
								text: '珠海市食品药品(医疗器械)审评认证中心 医疗器械经营许可技术审评报告',
								badge: '99',
								type: "warning"
							},
							{
								url: '/static/c4.png',
								text: '珠海市食品药品(医疗器械)审评认证中心 食品生产许可技术审评报告',
								badge: '2',
								type: "error"
							},
							{
								url: '/static/c5.png',
								text: '附件1 医疗器械经营质量管理规范现场检查表'
							},
							{
								url: '/static/c6.png',
								text: '附件2 医疗器械经营质量管理规范现场检查报告'
							},
							{
								url: '/static/c7.png',
								text: '医疗器械经营质量管理规范现场检查指导原则-1'
							},
							{
								url: '/static/c8.png',
								text: '医疗器械经营质量管理规范附录:专门提供医疗器械运输贮存服务的企业质量管理现场检查指导原则'
							},
							{
								url: '/static/c9.png',
								text: '医疗器械经营质量管理规范现场检查指导原则-2'
							}
						]
      }
    },
    methods: {
      clickBannerItem(item) {
        console.info(item)
      },
      changeSwiper(e) {
        this.current = e.detail.current
      },
      changeGrid(e) {
        this.$modal.showToast('模块建设中~')
      }
    }
  }
</script>

<style lang="scss">
  /* #ifndef APP-NVUE */
  page {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background-color: #fff;
    min-height: 100%;
    height: auto;
  }

  view {
    font-size: 14px;
    line-height: inherit;
  }

  /* #endif */

  .text {
    text-align: center;
    font-size: 26rpx;
    margin-top: 10rpx;
  }

  .grid-item-box {
    flex: 1;
    /* #ifndef APP-NVUE */
    display: flex;
    /* #endif */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
  }

  .uni-margin-wrap {
    width: 690rpx;
    width: 100%;
    ;
  }

  .swiper {
    height: 300rpx;
  }

  .swiper-box {
    height: 150px;
  }

  .swiper-item {
    /* #ifndef APP-NVUE */
    display: flex;
    /* #endif */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    height: 300rpx;
    line-height: 300rpx;
  }

  @media screen and (min-width: 500px) {
    .uni-swiper-dot-box {
      width: 400px;
      /* #ifndef APP-NVUE */
      margin: 0 auto;
      /* #endif */
      margin-top: 8px;
    }

    .image {
      width: 100%;
    }
  }
</style>
